<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Sistema Desenvolvido por Robson Miranda a Serviço da Assistec Informática
Design by Robson Miranda
binho_256@globo.com
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
        <title>SCR - Sistema de Controle de Reembolsos</title>

		<?php

                echo $html->stylesheet("default_main.css");
                echo $html->stylesheet("jquery.cluetip.css");
                echo $html->stylesheet("/themes/flick/jquery.ui.all.css");
                echo $html->script("jquery.js");
                echo $html->script("funcoes");
                echo $html->script("meio-mask.js");
                echo $html->script("ui/jquery-ui-1.8.5.custom.js");
                echo $html->script("validate.js");
                echo $html->script("jquery.cluetip.js");
                echo $html->script("regras.validate.js");
                echo $html->script("jquery.form.js");
                $mensageiro->upDate($loggedUser["id"]);

                ?>
        <script type="text/javascript">
           $(function() {
		$("button,.botao, input:submit, input:button, button", "html").button();
                $("input:text").setMask();
                $.ajaxSetup ({
                cache: false
                });
	});

        </script>        
    <meta NAME="Author" CONTENT="Robson Miranda Alves de Oliveira, a serviço da Assistec Informatica"/>
</head>
<body>
<div id="wrapper">
	<div id="header">
		<div id="logo">
                <?php echo $html->imageLink("logoHeader.png","/",array("border"=>"0")); ?>
		</div>
	</div>
	<!-- end #header -->
	<div class="menu">
		<?php echo $this->element("/gadgets/menu"); ?>
	</div>
	<!-- end #menu -->
	<div id="page">
	<div id="page-bgtop">
	<div id="page-bgbtm">
		<div id="content" class="borda ui-corner-all">
			<?php echo $this->contentForLayout; ?>
		</div>
		<!-- end #content -->
		<div id="sidebar">
                <?php $mensageiro->upDate($loggedUser["id"]);?>
		</div>
		<!-- end #sidebar -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
	</div>
	<!-- end #page -->
</div>
	<div id="footer">
            <p>Assistec Informática<br/>
                Suporte: <a href="mailto:desenvolvimento@assistecinformatica.com.br">desenvolvimento@assistecinformatica.com.br</a>
            </p>
	</div>
	<!-- end #footer -->
        <div id="avisoSistema">
            <?php
                            if (!empty($mensagens) || $mensagens = Session::flash("Auth.error")) {
                            echo $mensagens;
            ?>
                                <script type="text/javascript" >
                                    $("#avisoSistema").dialog("open");
                                </script>
            <?php
                            }
            ?>
        </div>
</body>
</html>
